package com.ruoyi.his.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 his_filings
 * 
 * @author Alan
 * @date 2024-03-09
 */
public class HisFilings
{
    private static final long serialVersionUID = 1L;

    /** 主健id */
    private Long id;

    /** 执业备案状态 */
    @Excel(name = "执业备案状态")
    private String status;

    /** 多执业机构是否有效 */
    @Excel(name = "多执业机构是否有效")
    private String isvalid;

    /** 多执业机构失效原因 */
    @Excel(name = "多执业机构失效原因")
    private String reason;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 出生日期，字符格式 */
    @Excel(name = "出生日期，字符格式")
    private String birthday;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idcard;

    /** 多执业机构，保存如:**医院(第二名称:**医院) */
    @Excel(name = "多执业机构，保存如:**医院(第二名称:**医院)")
    private String unitname;

    /** 多执业审批机关 */
    @Excel(name = "多执业审批机关")
    private String organname;

    /** 主要执业机构 */
    @Excel(name = "主要执业机构")
    private String unit;

    /** 有效期开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vaildtime;

    /** 有效期结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vaildendtime;

    /** 备案批准日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备案批准日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ratifyendtime;

    /** 取消备案（失效）日期 */
    @Excel(name = "取消备案", readConverterExp = "失=效")
    private Date ratifytime;

    /** 主要执业机构审批机构 */
    @Excel(name = "主要执业机构审批机构")
    private String organ;

    /** 资格证书编码 */
    @Excel(name = "资格证书编码")
    private String qualification;

    /** 执业证书编码  唯一编码 */
    @Excel(name = "执业证书编码  唯一编码")
    private String workcode;

    /** 执业级别 */
    @Excel(name = "执业级别")
    private String parcticelevel;

    /** 执业类别 */
    @Excel(name = "执业类别")
    private String parcticeclass;

    /** 执业范围 */
    @Excel(name = "执业范围")
    private String parcticescope;

    /** 批准时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "批准时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date worktime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setIsvalid(String isvalid) 
    {
        this.isvalid = isvalid;
    }

    public String getIsvalid() 
    {
        return isvalid;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setBirthday(String birthday) 
    {
        this.birthday = birthday;
    }

    public String getBirthday() 
    {
        return birthday;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setUnitname(String unitname) 
    {
        this.unitname = unitname;
    }

    public String getUnitname() 
    {
        return unitname;
    }
    public void setOrganname(String organname) 
    {
        this.organname = organname;
    }

    public String getOrganname() 
    {
        return organname;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setVaildtime(Date vaildtime) 
    {
        this.vaildtime = vaildtime;
    }

    public Date getVaildtime() 
    {
        return vaildtime;
    }
    public void setVaildendtime(Date vaildendtime) 
    {
        this.vaildendtime = vaildendtime;
    }

    public Date getVaildendtime() 
    {
        return vaildendtime;
    }
    public void setRatifyendtime(Date ratifyendtime) 
    {
        this.ratifyendtime = ratifyendtime;
    }

    public Date getRatifyendtime() 
    {
        return ratifyendtime;
    }
    public void setRatifytime(Date ratifytime) 
    {
        this.ratifytime = ratifytime;
    }

    public Date getRatifytime() 
    {
        return ratifytime;
    }
    public void setOrgan(String organ) 
    {
        this.organ = organ;
    }

    public String getOrgan() 
    {
        return organ;
    }
    public void setQualification(String qualification) 
    {
        this.qualification = qualification;
    }

    public String getQualification() 
    {
        return qualification;
    }
    public void setWorkcode(String workcode) 
    {
        this.workcode = workcode;
    }

    public String getWorkcode() 
    {
        return workcode;
    }
    public void setParcticelevel(String parcticelevel) 
    {
        this.parcticelevel = parcticelevel;
    }

    public String getParcticelevel() 
    {
        return parcticelevel;
    }
    public void setParcticeclass(String parcticeclass) 
    {
        this.parcticeclass = parcticeclass;
    }

    public String getParcticeclass() 
    {
        return parcticeclass;
    }
    public void setParcticescope(String parcticescope) 
    {
        this.parcticescope = parcticescope;
    }

    public String getParcticescope() 
    {
        return parcticescope;
    }
    public void setWorktime(Date worktime) 
    {
        this.worktime = worktime;
    }

    public Date getWorktime() 
    {
        return worktime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("isvalid", getIsvalid())
            .append("reason", getReason())
            .append("name", getName())
            .append("sex", getSex())
            .append("birthday", getBirthday())
            .append("idcard", getIdcard())
            .append("unitname", getUnitname())
            .append("organname", getOrganname())
            .append("unit", getUnit())
            .append("vaildtime", getVaildtime())
            .append("vaildendtime", getVaildendtime())
            .append("ratifyendtime", getRatifyendtime())
            .append("ratifytime", getRatifytime())
            .append("organ", getOrgan())
            .append("qualification", getQualification())
            .append("workcode", getWorkcode())
            .append("parcticelevel", getParcticelevel())
            .append("parcticeclass", getParcticeclass())
            .append("parcticescope", getParcticescope())
            .append("worktime", getWorktime())
            .toString();
    }
}
